import { StyleSheet, Text, View } from "react-native";
import Constants from "expo-constants";
import App from "./npmjs.com/package/react-native-waterflow-list/App";
// import App from "./npmjs.com/package/lottie-react-native/App";
// import App from "./npmjs.com/package/react-native-maps/App";
// import App from "./PhotoGrid/App";

// function App() {
//   return (
//     <View style={styles.container}>
//       <Text>Open up App.tsx to start working on your app!XXX</Text>
//     </View>
//   );
// }

let AppEntryPoint = App;

if (Constants.expoConfig?.extra?.storybookEnabled === "true") {
  AppEntryPoint = require("./.ondevice").default;
}

const styles = StyleSheet.create({
  container: {
    flex: 1,
    backgroundColor: "#fff",
    alignItems: "center",
    justifyContent: "center",
  },
});

export default AppEntryPoint;
